﻿@model SAD.Models.Food

@{
    ViewBag.Title = "Order";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Order</h2>

<h3>Are you sure you want to order this?</h3>
<fieldset>
    <legend>Food</legend>

    <div class="display-label">name</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.name)
    </div>

    <div class="display-label">price</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.price)
    </div>

    <div class="display-label">description</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.description)
    </div>

    <div class="display-label">image</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.image)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Order" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
